package com.library.entity;

public class Admin {
    private Long id;
    private String userName;
    private String password;
    private String fullName;
    private String email;
    private String phoneNo;
    private boolean deleteFlag = false;

    public Admin() {}

    public Admin(Long id, String userName, String password, String fullName, String email, String phoneNo, boolean deleteFlag) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.fullName = fullName;
        this.email = email;
        this.phoneNo = phoneNo;
        this.deleteFlag = deleteFlag;
    }

    public Long getId(){return id;}
    public void setId(Long id){this.id = id;}

    public String getUserName(){return userName;}
    public void setUserName(String userName){this.userName = userName;}

    public String getPassword(){return password;}
    public void setPassword(String password){this.password = password;}

    public String getFullName(){return fullName;}
    public void setFullName(String fullName){this.fullName = fullName;}

    public String getEmail(){return email;}
    public void setEmail(String email){this.email = email;}

    public String getPhoneNo(){return phoneNo;}
    public void setPhoneNo(String phoneNo){this.phoneNo = phoneNo;}

    public boolean getDeleteFlag(){return deleteFlag;}
    public void setDeleteFlag(boolean deleteFlag){this.deleteFlag = deleteFlag;}
}
